package com.ruoyi.jjyh.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 签到记录对象 jjyh_usersign
 * 
 * @author ruoyi
 * @date 2020-12-01
 */
public class JjyhUsersign extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userId;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String userName;

    /** 签到年份 */
    @Excel(name = "签到年份")
    private String signYear;

    /** 签到月份 */
    @Excel(name = "签到月份")
    private String signMonth;

    /** 签到日期 */
    @Excel(name = "签到日期")
    private String signDay;

    /** 是否已享受连续签到一个月赠送服务（1是 0否） */
    @Excel(name = "是否已享受连续签到一个月赠送服务", readConverterExp = "1=是,0=否")
    private String isSignmonth;

    /** 是否已享受连续签到一年赠送服务（1是0否） */
    @Excel(name = "是否已享受连续签到一年赠送服务", readConverterExp = "1=是0否")
    private String isSignyear;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setSignYear(String signYear) 
    {
        this.signYear = signYear;
    }

    public String getSignYear() 
    {
        return signYear;
    }
    public void setSignMonth(String signMonth) 
    {
        this.signMonth = signMonth;
    }

    public String getSignMonth() 
    {
        return signMonth;
    }
    public void setSignDay(String signDay) 
    {
        this.signDay = signDay;
    }

    public String getSignDay() 
    {
        return signDay;
    }
    public void setIsSignmonth(String isSignmonth) 
    {
        this.isSignmonth = isSignmonth;
    }

    public String getIsSignmonth() 
    {
        return isSignmonth;
    }
    public void setIsSignyear(String isSignyear) 
    {
        this.isSignyear = isSignyear;
    }

    public String getIsSignyear() 
    {
        return isSignyear;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("signYear", getSignYear())
            .append("signMonth", getSignMonth())
            .append("signDay", getSignDay())
            .append("isSignmonth", getIsSignmonth())
            .append("isSignyear", getIsSignyear())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
